<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:th="http://www.thymeleaf.org">
<head>
  <meta charset="UTF-8">
  <title>Title</title>
</head>
<body>

<!--<div>-->
<!--<span th:text="${name}">hhh???</span>-->
<!--  <br>-->
<!--<span th:text="${types}">hhh???</span>-->
<!--  <br>-->
<!--  <span th:text="${value1}">hhh???</span>-->
<!--  <br>-->
<!--  <span th:text="${student1.getName()}">hhh???</span>-->
<!--</div>-->

<div>
  <span th:text="${user2.getName()}">hhh???</span>
</div>
</body>
</html>